Skip to content

fix(task): allow colons in filenames#311

Merged
branchseer merged 5 commits intomainfrom
11-19-fix_task_allow_colons_in_filenames
Nov 19, 2025
Merged

fix(task): allow colons in filenames#311
branchseer merged 5 commits intomainfrom
11-19-fix_task_allow_colons_in_filenames

Conversation

@branchseer
Copy link
Copy Markdown
Member

No description provided.

Copy link
Copy Markdown
Member Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@branchseer branchseer marked this pull request as ready for review November 19, 2025 03:15
Copilot AI review requested due to automatic review settings November 19, 2025 03:15
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds snapshot test coverage for handling colons in filenames. The test verifies that the task runner correctly processes commands that reference files with colons in their names (e.g., Node.js built-in module specifiers like "node:fs") and properly caches and replays such tasks.

Key changes:

  • Added a new snapshot test case colon-in-name that exercises the task runner with a filename containing a colon
  • The test runs the same task twice to verify both cache miss and cache hit scenarios work correctly with colon-containing filenames

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
packages/cli/snap-tests/colon-in-name/steps.json Defines test execution steps with commands to run the test task twice
packages/cli/snap-tests/colon-in-name/snap.txt Contains expected output showing successful execution and caching of tasks with colon-containing filenames
packages/cli/snap-tests/colon-in-name/package.json Defines the test script that attempts to read a file with a colon in its name

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread packages/cli/snap-tests/colon-in-name/steps.json
Copilot AI review requested due to automatic review settings November 19, 2025 06:00
@branchseer branchseer force-pushed the 11-19-fix_task_allow_colons_in_filenames branch from cbb4ade to 2eb3464 Compare November 19, 2025 06:00
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 4 out of 5 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copilot AI review requested due to automatic review settings November 19, 2025 06:55
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 5 out of 6 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread packages/cli/snap-tests/colon-in-name/read_node_fs.js Outdated
@branchseer branchseer force-pushed the 11-19-fix_task_allow_colons_in_filenames branch from c659143 to 27b0805 Compare November 19, 2025 07:00
Copy link
Copy Markdown
Member Author

branchseer commented Nov 19, 2025

Merge activity

  • Nov 19, 7:25 AM UTC: A user started a stack merge that includes this pull request via Graphite.
  • Nov 19, 7:25 AM UTC: @branchseer merged this pull request with Graphite.

@branchseer branchseer merged commit 2656921 into main Nov 19, 2025
12 checks passed
@branchseer branchseer deleted the 11-19-fix_task_allow_colons_in_filenames branch November 19, 2025 07:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants